// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.

.ThreadViewer {
    // negate conflicting css for timestamp
    .post:not(.same--root.same--user) a.post__permalink {
        position: initial !important;
        text-align: left !important;
    }

    .post-list__dynamic--RHS {
        display: flex;
        height: 100%;
        flex-direction: column;
        padding-bottom: 8px;
        scrollbar-color: var(--center-channel-color-32) #fff0;
        scrollbar-width: thin;

        & > div[role="list"]:nth-child(1) {
            margin-top: auto;
        }
    }

    > div {
        flex: 1 1 auto;
    }

    .channel-archived-warning__container {
        padding-top: 16px;
    }

    .channel-archived-warning__content {
        display: flex;
        justify-content: center;
        padding: 24px;
        padding-right: 47.5px;
        padding-left: 46.5px;
        margin: 0 auto;
        line-height: 20px;
        text-align: center;

        svg {
            margin-right: 3.4px;
        }
    }
}
